home *** CD-ROM | disk | FTP | other *** search
- ALARM command
-
- Purpose
-
- Allows you to set up to three time alarms. At the desired time,
- ALARM will briefly interrupt whatever you are doing, sound an
- audio alarm, and display optional text.
-
- Format
-
- ALARM [STATIC] hh:mm[:ss] [text]
- ALARM mm [text]
- ALARM LIST
- ALARM CANCEL n
-
- Install
-
- To install ALARM, just ensure that the file ALRMINST.COM is
- available on your disk and type ALRMINST at the DOS prompt (PCED
- must be loaded, of course). ALRMINST will install the new ALARM
- command as a PCED user-installed command. You may wish to put
- the ALRMINST command in your AUTOEXEC.BAT file so that it is
- always available.
-
- You can use the new command by typing ALARM (and its parameters
- as described below) at the DOS prompt, or in a DOS batch via XCED
- ALARM. The file ALRMINST is not needed after it has been loaded.
-
- ALARM uses a bit over 2K bytes of memory when installed.
-
- Remarks
-
- The first form of the ALARM command allows you to set an alarm
- for a specific time. For example, to set an audio alarm for
- 10:30 AM, type:
-
- ALARM 10:30
-
- If no second is present, 00 is assumed; thus, "ALARM 10:30" means
- "10:30:00". You may optionally specify the exact second ("ALARM
- 10:30:45"); the alarm is accurate to within a few seconds. You
- may also optionally specify a small amount of text information
- (the total length of all parameters to ALARM cannot exceed 40
- characters). For example:
-
- ALARM 15:45 Start dinner
-
- (Note that ALARM uses a 24-hour clock.)
-
- At the specified time, ALARM will interrupt the computer's
- present activity, display a small window that contains the alarm
- time and any text that you specified, and sound an audio alert
- tone. The window will remain on the screen for about 15 seconds,
- or until you press any key (you must wait until the beeping has
-
-
-
-
-
- ALARM command
-
- stopped). The keystroke used to clear the window will be passed
- along to the current program unless it is a "modifier" key like
- Shift, Ctrl, Alt, CapsLock, etc.
-
- If you do not press a key within about 15 seconds, the window
- will disappear and the active program will continue. ALARM will
- assume that you have missed the alarm, and the next time you
- press a key, the missed alarm will be displayed for about five
- seconds. If you miss more than one alarm, only the last one will
- be redisplayed.
-
- If the ALARM time is preceded by the word STATIC:
-
- ALARM STATIC 16:15 Time to jog
-
- the alarm will be repeated daily at the same time. Of course,
- this will be effective only if you leave your computer on at all
- times.
-
- The second format allows you to set an alarm for some number of
- minutes from the current time. For example,
-
- ALARM 25 Get clothes from dryer
-
- will set an alarm for 25 minutes from now.
-
- The third format (ALARM LIST) lists all alarms presently set; you
- can have up to three alarms set at the same time. Each alarm in
- the list is numbered (1 through 3); the alarms are always listed
- in chronological order.
-
- The fourth format (ALARM CANCEL n) allows you to cancel one of
- the alarms currently set. The number 'n' is the alarm's index
- number as obtained from LIST. For example, suppose that an ALARM
- LIST displays the following:
-
- 1 10:20:00 Meet with PGA in 10 min
- 2 11:55:00 Lunch at 12:15, leave now
- 3 16:30:00 Leave for airport in 15
-
- If you want to cancel the lunch alarm, just type:
-
- ALARM CANCEL 2
-
- NOTE: if the alarm time is earlier than the current time, it is
- assumed to refer to the following day. For example, an
-
- ALARM 08:00 Get out of bed
-
- entered at 1 P.M. is assumed to mean 8 AM the following morning.
-
- alarm 1.12/cjd/041686
-
-